thermal: Fix ABI change in 4.4.4
authorBen Hutchings <ben@decadent.org.uk>
Sun, 6 Mar 2016 00:40:31 +0000 (00:40 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commitd5241b33534e30d4b7d437e6362d4e49039e571a
tree7353379d6055047b9a23a21c01e701dcb2278d29
parentcafc766e90ec63f04528e1d7d4b4faff57779fbf
thermal: Fix ABI change in 4.4.4

struct thermal_zone_device is always allocated in thermal_core and the
new field is only used there.  So we can safely move it to the end of the
structure and hide it from genksyms.

Also hide the new #include, as if it could make an actual difference,
stupid genksyms...

Gbp-Pq: Topic debian
Gbp-Pq: Name thermal-fix-abi-change-in-4.4.4.patch
drivers/thermal/thermal_core.c
include/linux/thermal.h